<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS3属性对层叠上下文的影响3</title>
    <style type="text/css">
        /* 案例三分解*/
        .box {
            margin-top:250px;
            background-color: blue;
            transform: rotate(15deg);
        }

        .box>img {
            position: relative;
            z-index: -1;
            right: -150px;
        }
    </style>
</head>

<body>
    <!-- 案例三分解:transform -->
    <div class="box">
        <img src="images/mm1.jpg">
    </div>
</body>

</html>